package com.zusmart.core.proxy.support.cglib;

import java.lang.reflect.Method;

import net.sf.cglib.proxy.MethodProxy;

public class CglibProxyMethodByClass extends AbstractCglibProxyMethod{

	public CglibProxyMethodByClass(Method targetMethod, MethodProxy targetMethodProxy) {
		super(targetMethod, targetMethodProxy);
	}
	
	@Override
	public Object invokeTargetMethod(Object targetInstance, Object[] targetArguments) throws Throwable {
		return this.targetMethodProxy.invokeSuper(targetInstance, targetArguments);
	}
	
}